package top.fangw.admin.mapper;

import org.apache.ibatis.annotations.Param;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Param;
import top.fangw.admin.pojo.entity.SysRoleJoinMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 用途：角色与菜单的关联关系表 Mapper 接口
 * </p>
 *
 * @author fangw
 * @since 2024-03-02
 */
@Mapper
@DS("base_info")
public interface SysRoleJoinMenuMapper extends BaseMapper<SysRoleJoinMenu> {

    /**
     * 插入多条记录
     * @param joinMenus 要插入的数据
     */
    void insertBatch(@Param("joinMenus") List<SysRoleJoinMenu> joinMenus);
}
